package com.ag.improvedjava.utils.comparators;

import java.util.Comparator;

public class Comparators {

	public static <E extends Comparable<? super E>> Comparator<E> Natural() {
		return new Comparator<E>() {
			@Override
			public int compare(E o1, E o2) {
				return o1.compareTo(o2);
			}
		};
	}
	
}
